package com.sikaryofficial.backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sikaryofficial.backend.domain.entity.ArticleViews;

import java.util.List;
import java.util.Map;

/**
 * 文章查阅量Service接口
 *
 * @author qinjinyuan
 * @date 2024-03-14
 */
public interface IArticleViewsService extends IService<ArticleViews> {
    /**
     * 查询文章查阅量
     *
     * @param articleIds 文章查阅量主键
     * @return 文章查阅量
     */
    Map<Long, Long> countArticleViewsByArticleId(List<Long> articleIds);

}
